<?php

namespace Drupal\shusy_promote\ViewsController\handler\filter;

use Drupal\shusy_promote\ViewsController\Traits\ShusyPromoteTeamTrait;
use views_handler_filter_many_to_one;

class ShusyPromoteTeamViewsFilter extends views_handler_filter_many_to_one {

  use ShusyPromoteTeamTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "允许申请团长 0 否 1 是";
      $this->value_options = $this->getTeamOptions();
    }
  }
}
